package com.greenyoung.pwiki.gateway;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class PwikiGatewayApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(PwikiGatewayApplication.class, args);
        Logger logger = LoggerFactory.getLogger(PwikiGatewayApplication.class);
        logger.info(applicationContext.getEnvironment().getProperty("my-nacos-config-test"));
    }

}
